//
//  DoYouLoveModel.m
//  wtshoppingcite
//
//  Created by Baojia-LC on 14-10-20.
//  Copyright (c) 2014年 TW. All rights reserved.
//

#import "DoYouLoveModel.h"

@implementation DoYouLoveModel


- (id)initWithDoYouLoveInfo:(NSDictionary *)info{
    if(self = [super init]){
        id bid = [info objectForKey:@"id"];
        self.bid = ObjToString(bid);
        
        id title = [info objectForKey:@"title"];
        self.title = ObjToString(title);
        
        id subtitle = [info objectForKey:@"subtitle"];
        self.subtitle = ObjToString(subtitle);
        
        id image = [info objectForKey:@"image"];
        self.image = ObjToString(image);
        
        id distance = [info objectForKey:@"distancekm"];
        self.distance = ObjToString(distance);
        
        id discountprice = [info objectForKey:@"discountprice"];
        self.discountprice = ObjToString(discountprice);
        
        id passprice = [info objectForKey:@"passprice"];
        self.passprice = ObjToString(passprice);
        
        id buycount = [info objectForKey:@"buycount"];
        self.buycount = ObjToString(buycount);
        
    }
    return self;
}

@end
